package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.List;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【公司模块】详情展示对象")
@Data
public class CompanyNecessaryModuleCodeVO extends BaseVO {

    private static final long serialVersionUID = -818110511669110356L;

    @ApiModelProperty(notes = "模块编码")
    private String moduleCode;

    @ApiModelProperty(notes = "模块名称")
    private String moduleName;

    @ApiModelProperty(notes = "是否必填")
    private Boolean necessary;

    @ApiModelProperty(notes = "字段是多条还是单个")
    private Boolean multiple;

    @ApiModelProperty(notes = "字段列表")
    private List<CompanyNecessaryFieldVO> fieldList;

    @ApiModelProperty(notes = "自定义字段列表")
    private List<CompanyAdditionalFieldsListVO> additionalFieldList;
}
